package com.home.qh.dao;

import java.util.Date;
import java.util.List;

import com.home.qh.model.Address;
import com.home.qh.model.Customer;

public interface CustomerDao extends GenericDao<Customer, Long> {
	List<Customer> findCustomer(String textSearch, Date startDate, Date endDate, List<Address> addresses, String sortColumn, boolean sortType, int startResult, int maxResults);
	
	List<Customer> getCustomerByName(String customerName);
    
	List<Customer> getCustomerByCustomer(Customer customer, String sort, boolean desc, int startResult, int maxResults);
}
